USE MDW_CONTROL
GO
IF OBJECT_ID('[ssas].[OlapQueryLog]') IS NOT NULL	DROP TABLE [ssas].[OlapQueryLog]
GO
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [ssas].[OlapQueryLog](
                [MSOLAP_Database] [nvarchar](255) NULL,
                [MSOLAP_ObjectPath] [nvarchar](4000) NULL,
                [MSOLAP_User] [nvarchar](255) NULL,
                [Dataset] [nvarchar](4000) NULL,
                [StartTime] [datetime] NULL,
                [Duration] [bigint] NULL
) ON [PRIMARY]

